<template>
    <div>
      <h1>Counter: {{ count }}</h1>
    </div>
  </template>
  
  <script>
  export default {
    computed: {
      count() {
        return this.$store.getters.count;
      }
    }
  };
  </script>
  